package com.ricohgag.controller.home;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * @author ricohgag
 * @date 2018/9/5 16:17
 */
@Controller
@RequestMapping("/home/contact")
public class HomeContactController {

    @RequestMapping("/index")
    public String index(HttpServletRequest request){
        request.setAttribute("navActive", 5);
        return "/home/contact/index";
    }
}
